home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 April / Macworld (1999-04).dmg / Serious Software / GrooveMaker demo / GrooveMaker Demo / Media / MenuSong.dxr / 00038.ls < prev    next >
Encoding:
Text File  |  1998-07-27  |  676 b   |  36 lines

  1. on mouseEnter
  2.   if the visible of window "Help" then
  3.     tell window "help"
  4.       go("quit")
  5.     end tell
  6.   end if
  7. end
  8.  
  9. on mouseLeave
  10.   if the visible of window "Help" then
  11.     tell window "help"
  12.       go("start")
  13.     end tell
  14.   end if
  15. end
  16.  
  17. on mouseDown
  18.   if not (the visible of window "Help") then
  19.     repeat while the mouseDown
  20.       set the memberNum of sprite 11 to the number of member "Hquit"
  21.       updateStage()
  22.     end repeat
  23.   end if
  24. end
  25.  
  26. on mouseUp
  27.   if not (the visible of window "Help") then
  28.     set the memberNum of sprite 11 to the number of member "quit"
  29.     updateStage()
  30.     openWin("YesNo")
  31.     tell window "YesNo"
  32.       go("quit")
  33.     end tell
  34.   end if
  35. end
  36.